# open(路径, mode='模式', encoding='编码')
# 模式：r - 读，w - 写，a - 追加，b = 二进制

# f=  open('./03_文件操作.py', mode='r', encoding='utf-8')
# f.close()

with open('./03_文件操作.py', mode='r', encoding='utf-8') as f:
    # print(f.read())
    for line in f:
        print(line.replace('\n', ''))